package cn.hp.pojo.vo;


import cn.hp.pojo.TblCouponClass;

import java.math.BigDecimal;
import java.util.Date;

public class CouponVO {
    /**
     * 优惠券id
     */
    private int id;
    /**
     * 优惠券状态 0:禁用, 1:启用
     */
    private int status;
    /**
     * 优惠券名称
     */
    private String couponName;
    /**
     * 优惠券描述
     */
    private String couponDesc;
    /**
     * 优惠方式 1:现金券, 3:专项券-免费送车券, 4:专项券-免费还车券 2:折扣券
     */
    private int couponType;
    /**
     * 优惠券类型ID
     */
    private int couponClassId;
    /**
     * 优惠券类型名称
     */
    private String couponClassName;
    /**
     * 1,主动发放. 2,用户获取
     */
    private int getMethod;
    /**
     * 订单最低金额
     */
    private BigDecimal minimumAmount;
    /**
     * 减免金额 仅现金券有此项
     */
    private BigDecimal reductionAmount;
    /**
     * 最高抵扣金额
     */
    private BigDecimal maximumAmount;
    /**
     * 折扣比例
     */
    private BigDecimal discount;
    /**
     * 有效期类型 1：天数 ，2：时间段
     */
    private int effectiveType;
    /**
     * 有效期天数
     */
    private int effectiveDay;
    /**
     * 有效期开始时间
     */
    private Date enableTime;
    /**
     * 有效期结束时间
     */
    private Date expireTime;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 创建用户
     */
    private String createUser;
    /**
     * 功能类型 1:市场活动, 2:订单赔付
     */
    private Integer functionType;
    /**
     * 总数量
     */
    private int totalNumber;
    /**
     * 已获取
     */
    private int getNumber;
    /**
     * 已使用
     */
    private int usedNumber;
    /**
     * 操作人ID
     */
    private int operatorId;

    @Override
    public String toString() {
        return "CouponVO{" +
                "id=" + id +
                ", status=" + status +
                ", couponName='" + couponName + '\'' +
                ", couponDesc='" + couponDesc + '\'' +
                ", couponType=" + couponType +
                ", couponClassId=" + couponClassId +
                ", couponClassName='" + couponClassName + '\'' +
                ", getMethod=" + getMethod +
                ", minimumAmount=" + minimumAmount +
                ", reductionAmount=" + reductionAmount +
                ", maximumAmount=" + maximumAmount +
                ", discount=" + discount +
                ", effectiveType=" + effectiveType +
                ", effectiveDay=" + effectiveDay +
                ", enableTime=" + enableTime +
                ", expireTime=" + expireTime +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createUser='" + createUser + '\'' +
                ", functionType=" + functionType +
                ", totalNumber=" + totalNumber +
                ", getNumber=" + getNumber +
                ", usedNumber=" + usedNumber +
                ", operatorId=" + operatorId +
                ", tblCouponClass=" + tblCouponClass +
                '}';
    }

    private TblCouponClass tblCouponClass ;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getCouponDesc() {
        return couponDesc;
    }

    public void setCouponDesc(String couponDesc) {
        this.couponDesc = couponDesc;
    }

    public int getCouponType() {
        return couponType;
    }

    public void setCouponType(int couponType) {
        this.couponType = couponType;
    }

    public int getCouponClassId() {
        return couponClassId;
    }

    public void setCouponClassId(int couponClassId) {
        this.couponClassId = couponClassId;
    }

    public String getCouponClassName() {
        return couponClassName;
    }

    public void setCouponClassName(String couponClassName) {
        this.couponClassName = couponClassName;
    }

    public int getGetMethod() {
        return getMethod;
    }

    public void setGetMethod(int getMethod) {
        this.getMethod = getMethod;
    }

    public BigDecimal getMinimumAmount() {
        return minimumAmount;
    }

    public void setMinimumAmount(BigDecimal minimumAmount) {
        this.minimumAmount = minimumAmount;
    }

    public BigDecimal getReductionAmount() {
        return reductionAmount;
    }

    public void setReductionAmount(BigDecimal reductionAmount) {
        this.reductionAmount = reductionAmount;
    }

    public BigDecimal getMaximumAmount() {
        return maximumAmount;
    }

    public void setMaximumAmount(BigDecimal maximumAmount) {
        this.maximumAmount = maximumAmount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public int getEffectiveType() {
        return effectiveType;
    }

    public void setEffectiveType(int effectiveType) {
        this.effectiveType = effectiveType;
    }

    public int getEffectiveDay() {
        return effectiveDay;
    }

    public void setEffectiveDay(int effectiveDay) {
        this.effectiveDay = effectiveDay;
    }

    public Date getEnableTime() {
        return enableTime;
    }

    public void setEnableTime(Date enableTime) {
        this.enableTime = enableTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Integer getFunctionType() {
        return functionType;
    }

    public void setFunctionType(Integer functionType) {
        this.functionType = functionType;
    }

    public int getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(int totalNumber) {
        this.totalNumber = totalNumber;
    }

    public int getGetNumber() {
        return getNumber;
    }

    public void setGetNumber(int getNumber) {
        this.getNumber = getNumber;
    }

    public int getUsedNumber() {
        return usedNumber;
    }

    public void setUsedNumber(int usedNumber) {
        this.usedNumber = usedNumber;
    }

    public int getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(int operatorId) {
        this.operatorId = operatorId;
    }

    public TblCouponClass getTblCouponClass() {
        return tblCouponClass;
    }

    public void setTblCouponClass(TblCouponClass tblCouponClass) {
        this.tblCouponClass = tblCouponClass;
    }
}
